Compos mentis has 2 different meanings across 1 category:
Adjective
of sound mind, memory, and understanding; in law, competent to go to trial
Of sound mind, sane; thus criminally responsible for one's eventual wrongdoing.