Historical cases like the M'Naghten Rule case and the Hinckley trial have had a significant impact on shaping how insanity is considered in the legal system, leading to changes in the criteria for legal lunacy.