Mr. Bentley has been diagnosed with intellectual disability. His defense team is using the fact that Mr. Bentley does not understand right from wrong to argue that he qualifies for being found not guilty by reason of insanity. Which test is being applied here?