In the field of criminal law, there are a variety of conditions that will tend to negate elements of a crime (particularly the intent element), known as defenses. The label may be apt in jurisdictions where the accused may be assigned some burden before a tribunal. However, in many jurisdictions, the entire burden to prove a crime is on the government, which also must prove the absence of these defenses, where implicated. In other words, in many jurisdictions the absence of these so-called defenses is treated as an element of the crime. So-called defenses may provide partial or total refuge from punishment.
Insanity or mental disorder (Australia and Canada), may negate the intent of any crime, although it pertains only to those crimes having an intent element. A variety of rules have been advanced to define what, precisely, constitutes criminal insanity. The most common definitions involve either an actor's lack of understanding of the wrongfulness of the offending conduct, or the actor's inability to conform conduct to the law. If one succeeds in being declared "not guilty by reason of insanity," then the result frequently is treatment in a mental hospital, although some jurisdictions provide the sentencing authority with flexibility. As further described in articles available online.
Automatism is a state where the muscles act without any control by the mind, or with a lack of consciousness. One may suddenly fall ill, into a dream like state as a result of post traumatic stress, or even be "attacked by a swarm of bees" and go into an automatic spell. However, to be classed as an "automaton" means there must have been a total destruction of voluntary control, which does not include a partial loss of consciousness as the result of driving for too long. Where the onset of loss of bodily control was blameworthy, e.g., the result of voluntary drug use, it may be a defense only to specific intent crimes.
In some jurisdictions, intoxication may negate specific intent, a particular kind of mens rea applicable only to some crimes. For example, lack of specific intent might reduce murder to manslaughter. Voluntary intoxication nevertheless often will provide basic intent, e.g., the intent required for manslaughter. On the other hand, involuntarily intoxication, for example by punch spiked unforeseeably with alcohol, may give rise to no inference of basic intent.
Strictly speaking, however, it could be argued that intoxication is not a defense, but a denial of mens rea; the main difference being that a defense accepts the mens rea and actus reus of an offence are present. With intoxication, there is no acceptance of the mens rea of the offence. For offences of basic intent, the act itself is criminalised. All that is needed is the intent to do the act. It can therefore be inferred that there is such intent relatively easily; when intoxicated one is not an automaton - there is still control of one's actions. Therefore, intoxication will rarely (if ever) deny the mens rea of crimes of basic intent. With specific intent, the character of the act is criminalised, for the act itself is often objectively innocent. Appropriation of an item is perfectly innocent, yet when one appropriates with the intent to permanently deprive the owner of it, there is a theft. This is much more difficult to prove beyond reasonable doubt, for an intoxicated person may exercise control over his actions but will often lack an understanding of what is being done - without this understanding the necessary intent cannot be proven. Therefore, whilst it is tempting to think of intoxication as a defense, it is more accurate to see it as a denial of the mens rea of an offence - where the mens rea or actus reus is not proven, there is no need for defenses.