6-5-3: CAPACITY TO COMMIT AN OFFENSE:
All persons are capable of committing crimes, except those belonging to the following classes:
   A.   Children under the age of seven (7) years;
   B.   Children over the age of seven (7) years, but under the age of fourteen (14) years, in the absence of proof that at the time of committing the act or neglect charged against them, they knew its wrongfulness;
   C.   Persons who are impaired by reason of mental retardation upon proof that, at the time of committing the act charged against them, they were incapable of knowing its wrongfulness;
   D.   Mentally ill persons, and all persons of unsound mind, including persons temporarily or partially deprived of reason, upon proof that, at the time of committing the act charged against them, they were incapable of knowing its wrongfulness;
   E.   Persons who committed the act, or made the omission charged, under an ignorance or mistake of fact which disproves any criminal intent, but ignorance of the law does not excuse from punishment for its violation;
   F.   Persons who committed the act charged without being conscious thereof; and
   G.   Persons who committed the act, or make the omission charged, while under involuntary subjection to the power of superiors. (2018 Code)