The American Law Institute (Sec. 4.01)
A person is not responsible for criminal conduct if at the time of such conduct,
as a result of mental disease or defect, he lacks substantial capacity to either appreciate the criminality (or wrongfulness) of his conduct and to conform his conduct to the requirements of the law.