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

Use Serial.parseInt()