Unit 2013

Unit 2013 is an insane robot admitted to HAL Institute for believing that he is a human. At the asylum, he made good friends with Philip J. Fry who was diagnosed for the same reasons.

The only difference was that Fry was actually a human, and Unit 2013 isn't.