Automatism
noun
Performance of nonreflex acts without conscious volition.
Fundamentals of Human Neuropsychology Kolb & Whishaw
noun
· the performance of actions without conscious thought or intention.
· an action performed unconsciously or involuntarily. Oxford Dictionary
ideomotor (a related word)
adjective
Of or pertaining to involuntary motor activity caused by an idea.
Of or pertaining to involuntary actions caused by subconscious thought Wiktionary
A comparison:
Automatism and ideomotor differentiated: We could say from the above definitions that automatisms can occur without any conscious thought whereas an ideomotor action is initiated or influenced by an idea.