Automatism

Automatic, mechanical, and apparently undirected behavior which is outside of conscious control.