An employee was troubleshooting the actuator on the metal detector in-line unit. The valve was stuck open. The employee's right index finger was inside the valve when the pneumatics were activated and the ball closed on his finger. The fingertip was surgically amputated.