The Unibomber. Ted K
Genius. Killed and maimed many, for years. Evil of course. Crazy? Don't know.
Charles Whitman, Univ. of Texas Tower, planned, executed, brain tumor.
There are many different types of 'crazy' (which is not a medical term). You have your schizophrenics of various degrees who have distorted views of reality. Psychopaths who have distorted views of morals and ethical ramifications. You have those who have various traumatic issues who express that in different ways. Some have emotional or anger issues and/or the inability to cope with normal society. There are also deep depression and self-harm issues. Also, many are influenced through outside factors (drugs, religious extremism, etc).
All of these we would label 'crazy' but are very different and can manifest themselves in different ways. With almost every single one of these, you could see this person on the street, work with this person, or even live with this person and not know what they are facing on the inside until there is a 'snap' and something changes. Luckily, in most cases it doesn't result in instances like this.
So 'crazy' certainly is a factor, it is just a matter of what type of crazy and how it is manifested.