compos mentis

/ˈkɒmpɒs ˈmɛntɪs/adj
University
1

Of sound mind, sane; thus fully accountable (legally and/or morally) for one's deeds.

Thesaurus