Load nodes by property, including empty ones
loadByProperties() executes an entity query with -&gt;condition() for each property. You can't use this for empty fields, you need
$query-&gt;notExists('field_example');

according to How get empty record on date field with entityQuery?