multiple ping))) sensors(3) controlling a servo- please help

I am trying to get the 3 ping sensors to turn the servo when any one of them sees anything closer than 5 inches i have the NewPing library if that helps. assistance would be greatly appreciated. so far ive only been able to make the servo move when the first sensor detects something closer than 5 inches.

here is some code i got for the sensors then modified to move a servo
(yes i know the code is for 4 sensors not 3)

#include <Servo.h>


int ultraSoundSignalPins[] = {8,7,6,9}; // Front Left,Front, Front Right, Rear Ultrasound signal pins
char *pingString[] = {"Front Left ","Front ", "Front Right ", "Rear "}; // just something to print to indicate direction

Servo servoMotor;

void setup()
{
Serial.begin(9600);
servoMotor.attach(2);
servoMotor.write(90);
}

//Ping function
unsigned long ping(int index)
{
unsigned long echo;

pinMode(ultraSoundSignalPins[index], OUTPUT); // Switch signalpin to output
digitalWrite(ultraSoundSignalPins[index], LOW); // Send low pulse
delayMicroseconds(2); // Wait for 2 microseconds
digitalWrite(ultraSoundSignalPins[index], HIGH); // Send high pulse
delayMicroseconds(5); // Wait for 5 microseconds
digitalWrite(ultraSoundSignalPins[index], LOW); // Holdoff
pinMode(ultraSoundSignalPins[index], INPUT); // Switch signalpin to input
digitalWrite(ultraSoundSignalPins[index], HIGH); // Turn on pullup resistor
echo = pulseIn(ultraSoundSignalPins[index], HIGH); //Listen for echo
return (echo / 58.138) * .39; //convert to CM then to inches
}

void loop()
{
unsigned long ultrasoundValue;
for(int i=0; i < 4; i++){
  ultrasoundValue = ping(i);
  Serial.print(pingString[i]);
  Serial.print(ultrasoundValue);
  Serial.print("in, ");    
  delay(50);

}
Serial.println();
delay(50);


if (ultrasoundValue >= 5) {
  servoMotor.attach(2);
  servoMotor.write(90);
  
}

else {
  servoMotor.attach(2);
  servoMotor.write(180);
} }

Post the code that you have - in code tags please.

please anyone im a arduino noob