How does Quduri specify the relevant mental condition?

Kitab al-Hajr: Grounds of Legal Restriction, Capacity and Liability