The greatest of the “guy pretends to be insane so he can get into the nuthouse for some reason” flicks, Sam Fuller’s B+ Shock Corridor (1963) is most notorious for featuring a black inmate who believes he’s a white supremacist.
Take that, Bubba Ho-tep!
(Many thanks to Trailers from Hell for bringing back their embed code.)