Added logical operators into global boolean var.

Added && and || into the global boolean variable values.