Definitions of automatism
the doing of actions without knowing that you are doing them. In some jurisdictions, automatism can be used as a defence to a criminal charge (the accused claims to have acted involuntarily).
A man in Wales was acquitted of murder after using automatism in his defence.