I am not sure if this is the correct specification, but it doesn't rule out this sort of query and describes the behaviour that I expected:
A null comparison expression tests whether or not the single-valued path expression or input parameter is a NULL value.