I been trying to convert my decimal input to binary input for my LED condition

It sends Boolean data to control its individual LEDs, the boolean output has been connected to array where it become binary and i used conversion to decimal after that