Thanks for that but could you please read this:-
How to use this forum
Because your post is breaking the rules about posting code.
So I see your code is looking at the input pin and from that information it is pulsing the internal LED, so that removes one potential problem.
The other problem I can see is that you have an asymmetry about how long it takes to turn the LED on and how long to turn it off. It is that delay in the turn off case only. So try moving it out of the if then structure.
The problem with what you are doing is there is no way to see the position of the servo.
Also the problem is that the on part of the pulse is short and the off part is long. The way you code works is that as soon as the pulse is seen the servo is told to move, and is told to move repeatedly as long as the pulse is present. Then when the pulse is removed the servo is told to move back, when it might not even have moved very far.
The way to approach this, given that the pulses are too fast anyway, is to detect the edge of the pulse, not the level. There is an example of this in the IDE examples called State Change detector. On each edge move the servo alternatively left and right. This will give the servo the whole time of the pulse to move, and even up the timing.