Testing whether a value is NULL using MySQL. It returned 1 if the value id NULL else returns 0:

2 IS NULL0 IS NULLNULL IS NULL
001