Check out the "Number to Boolean Array" function on the Boolean palette. I think this does exactly what you are after, and it's got a partner "Boolean Array to Number" function to go from a bit pattern back to a numeric.
Hope it helps, John Lum National Instruments