At the heart of the NGRI defense is the claim the defendant either lacked the capacity to know right from wrong (was brain-damaged, intellectually impaired) or had a mental disorder when the crime was committed, causing an inability to act within the law's requirements.