Doctrine 2 - ORM

WHERE <<custom function>> IS NULL ... doesn't work