Blocks are not connecting for the or & and logics

Blocks are not connecting to logic

and, or logic blocks only accepts boolean input.
What are you trying to connect?

I'll bet a nickel the OP is thinking of a case statement, which AI2 lacks.

Instead of coding

if white then
  ...
else if black then 
 ...

code

if color = white then
  ...
else if color = black then 
 ...