What is the Insanity Plea?

An insanity plea is when a person on trial tells the judge and jury that they either are permanently insane or were momentarily insane during the crime they committed.