Array function is not working [SOLVED]

I already told DR2727 that in Lighting an LED when a HC-SR04 ultrasonic sensor is triggered - Programming Questions - Arduino Forum