Luis Navarro, 30, of the 100 block of West Chestnut Street, was arrested shortly after the crime on Tuesday.
Investigators say it was around 12:15 a.m. when a 62-year-old male employee, who was working by himself, was hit from behind with a blunt object, tied up with duct tape, and shocked with a stun gun.
The victim was taken to a boilerl room in the building, still tied up, as the two suspects stole his wallet and keys.
The robbers then disabled the surveillance cameras in the exercise room and took five flat screen televisions off the wall.
They also lifted several leaf blowers, a snow blower and vacuum cleaners.
About an hour later the victim was able to free himself and, with the help of a good Samaritan, was able to contact police.
The man then noticed his car was moved alongside the building, and police say the suspects moved it so they could put stolen items inside.
The suspects then drove off, but crashed the car on Roberts Avenue. Navarro was found nearby.
Investigators determined Navarro had keys to the YMCA because he worked for the cleaning company used by the gym.
Navarro's bail was set at $500,000 full and he was sent to the Cumberland County jail.
While the search for the second suspect continues, police say they think they know who that person is. Investigators are looking for surveillance video to help make a positive ID.