incompetency
Absence of legal capacity to perform certain acts, such as testifying at a trial.
Absence of the legal capacity to understand the charges against one and to participate in one’s own trial.