non compos mentis Look up non compos mentis at Dictionary.com
Latin, "not master of one's mind."