I could be wrong but setting a const int to A1.....
See what happens if you do this.
const int analogInPin = A1;
int sensorValue = 0;
sensorValue = analogRead(A1);
Serial.print("Sensor Value = ");
Other than that you have conductive the long leg of the phototransistor to +5V, the short leg to pin A1 and a 1k resistor between A1 and ground, if the transistor and A1 haven't been fried should be good.
You can test the parts. Put the phototransistor long leg to 5V, the short leg to a 220 ohm resistor, the other end of the resistor to the long leg of a led and the short leg of the led to ground. Then change light and dark on the phototransistor, the led should go on and off.