Compos mentis

a.
  1. Sane in mind; being of sound mind, memory, and understanding.