Answer: It is called irresistible impulse standard.
Step-by-step explanation:
In criminal law, irresistible impulse is a defense by excuse, in this case some sort of insanity, in which the individual states that they should not be held criminally responsible for their actions that broke the law, because they were not able to control those actions, even if they knew them to be wrong.