BIN is an output modifier for commands like SEROUT2, ARRAYWRITE, DEBUG etc.
It sends out an ASCII string representing a binary value such as 10111011, or in your case a single bit 1 or 0.
It can not be assigned to a variable.

If you just want a bit value equal to X.7, then remove the BIN modifier.