The function returns 1 when the input is within the interval [-1, 1] and 0 for all other inputs. 

