Can he still wrap his talons around the roosting perch? Or are his feet curled up and immobile? When you try to have him stand, do his legs seem weak, or is the problem with balance?
In trying to diagnose leg problems, it's important to break the components down into working and non-working parts to try and get at the cause.
If it's not Marek's, it can be some other avian virus. It could also be some sort of neuro toxin that he's ingested. Could his feed be moldy? How about insect pesticides? Are there any machinery sitting in the yard leaking fluids onto the soil? These all can cause legs to stop functioning.