The definition of defective is something or someone that is imperfect or that doesn't work properly.(adjective)
A door that does not latch correctly is an example of something that would be described as defective.
See defective in Webster's New World College Dictionary
Origin: ME & OFr defectif < LL defectivus
See defective in American Heritage Dictionary 4
Learn more about defective