Edwin is charged with a crime. Almost all federal courts and some state courts would not hold him liable if, at the time of the offense, as a result of a mental disease or defect, he lacked substantial capacity to obey the law and to appreciate.
Appreciation of Wrongfulness of conduct shows good mental reasoning capacity and indicates the full awareness of the situation at the time which is usually lacked in mental defects.