Reading LOW and HIGH from a Sharp GP2D150 with Arduino UNO

Have you connected a 12K resistor like on page 2 of the datasheet?

you could do a delay(50) in setup to skip over "unstable output" see page 3

You might connect a LED + 220 Ohm resistor between output of the sensor and GND, to check the sensor.