The insanity defense can be used to avoid legal consequences

The insanity defense allows some defendants to avoid legal responsibility for their acts.