how to convert an integer to binary in Arduino?

I am getting a character value('0' to 'F') from a stored array, lets say I am getting value of 'A'.

I need to convert that into 1 1 1 1

That don't make no sense.