How Do I set one element in an array to true/false

Thank you, That Helped A lot!