When riding a motorcycle on streets and highways, Illinois law requires that:

Illinois law requires a motorcyclist to use their headlight at all times. On all motorcycles sold in the United States since 1978, the headlight should automatically activate when the motorcycle is running.
DMV Writen Test