Non compos mentis (latin) is the legal a term meaning "not of sound mind".
Non compos mentis derives from the
Latin non meaning "not",
compos meaning "having command" or "composed", and
mentis (
genitive singular of
mens), meaning "of mind". It is the direct opposite of
Compos mentis (of a sound mind).