compos mentis Look up compos mentis at Dictionary.com
Latin, literally "in command of one's mind;" from compos "having the mastery of," from com- "with" (see com-) + stem of potis "powerful, master" (see potent); + mentis, genitive of mens "mind" (see mind (n.)).