However popular that aphorism is, it isn't actually the definition of insanity.
No it doesn't. You might be thinking of that meme often miss-attributing that alternative definition as an Einstein wisdom; but that quote is about as accurate as the claim of who said it.