While there are no laws forbidding throwing electronics in the trash, most things shouldn't be binned because parts of them can be used again. Christmas lights are a mix of glass, plastic, and copper, and each component is recyclable.