De Jure
A mental defect or disease that, as understood in most states, makes it impossible for a person to know what he or she is doing; or if he or she does know, to know that what they are doing is wrong. some states define as insane those defendants who acted under an irresistible impulse, even if they knew their actions were wrong. defendants who are criminally insane cannot be convicted of a crime, because criminal conduct involves the conscious intent to do wrong — a choice that the criminally insane cannot meaningfully make. (see also: mcnaghten rule)