The function seems to be returning 0 for most input values, except for 0 where it returns 1. 

