Byte To Array

I dont really know if this is the right place toask that kind of questions but I have a problem.
I am using CD4021BE chip for shifting in buttons data. But What Im getting is a byte variable.
Is there any possible way to change this byte to a boolean array/ integral array?

Thanks for any help,

If I understand correctly, each bit represents the state of one of the switches? The bitRead function allows you to read each bit to retrieve the state. Use a for loop to iterate through the bits and write the bit states to elements of an array.

But What Im getting is a byte variable.

But on a memory-constrained microcontroller, that's a good thing.