Programming a hold button using multiple inputs

I'm unsure of what you mean in this case. At the moment the code works in that when both switches are triggered the third light comes on. The problem is that I can't find a way to create a hold parameter. I'd like to cause the third light to turn on after holding both switches for a second.