The logical operators let you test more than one expression.
A double ampersand, && means AND. A double pipe or bar || means OR. The pipe is typed using shift + backspace.