All persons are capable of committing crimes, except those belonging to the following classes:
1. Children under the age of seven (7) years;
2. 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;
3. Persons who are impaired by reason of an intellectual disability upon proof that at the time of committing the act charged against them they were incapable of knowing its wrongfulness;
4. 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;
5. 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;
6. Persons who committed the act charged without being conscious thereof; and
7. Persons who committed the act, or make the omission charged, while under involuntary subjection to the power of superiors.
R.L. 1910, § 2094. Amended by Laws 1998, c. 246, § 11, eff. Nov. 1, 1998; Laws 2019, c. 475, § 16, eff. Nov. 1, 2019.