Non compos mentis

Webster's Dictionary of the English Language

·- Not of sound mind; not having the regular use of reason; hence, also, as a noun, an idiot; a lunatic; one devoid of reason, either by nature or from accident.