That is the new version 5 syntax that allows logical expressions for the label condition. The documentation version is selected in the dropdown menu in the upper lefthand side of the window.
Prior to that, you could construct logical expressions in the 'where' clause, such as:
MATCH (n)
WHERE n:Movie or n:Person
RETURN n.name AS name, n.title AS title