Maybe your are after IS NOT DISTINCT FROM NULL
https://www.postgresql.org/docs/current/static/functions-comparison.html