In criminal law, irresistible impulse is a defense by excuse, in this case some sort of insanity, in which the defendant argues that they should not be held criminallyliable for their actions that broke the law, because they could not control those actions.