The function f(x) seems to return 1 when x is -2, -1, 0, or 2, and 0 for all other tested values within the specified domain.

