Evaluate logical and or