This document discusses the insanity defense and automatism defense in criminal law. It provides examples of cases where these defenses were used and examines how the courts have interpreted and applied the legal tests for these defenses. Specifically, it discusses the M'Naughten Rules for the insanity defense, which require that due to a disease of the mind, the defendant did not know the nature and quality of their actions, or that what they were doing was wrong. It also examines the legal tests for establishing automatism as a defense.