JSONB: Finding an element with a null attribute in array of objects
Like this,

SELECT * FROM logs WHERE data @&gt; '[{"date":null}]';
 id |                                    data                                    
----+----------------------------------------------------------------------------
  2 | [{"date": "2018-01-10", "name": "test3"}, {"date": null, "name": "test4"}]
(1 row)