Defense to a prosecution for a crime that relieves the defendant from liability if his or her conduct was the result of a mental disease or mental defect. wex THE LEGAL PROCESS criminal law criminal procedure criminal law and procedure wex definitions