The function f(x) returns 1 when the input x is 0 and returns 0 for all other input values.

