If you believe that guns and soda and smokes and booze all kills people, but other people don't kill people (except maybe those greedy owners who sell them) then this law makes perfect sense.
You know that air-BB guns are illegal in NYC?
There are other underlying reasons to outlaw toy/air guns.
Since it is unsafe and illegal for little boys to have real guns, toys and non-lethal guns are training devices,
and the elite do NOT want the average person conversant in the use of arms.