How to do logical AND in conditionals?