But to answer your question, he sounds like a serious liability to all around him. You're making the correct call. Make sure that when you are interviewing for a replacement, you have a tech interview as part of the process.

Cheers,
Ben