Ecto.Query.API.is_nil

You're seeing just the function is_nil, go back to Ecto.Query.API module for more information.

Checks if the given value is nil.

from p in Post, where: is_nil(p.published_at)

To check if a given value is not nil use:

from p in Post, where: not is_nil(p.published_at)