You asked if there's an IC that can convert the sensor's output to a "true digital." That's probably not the solution you really want.
Your microcontroller datasheet will identify the maximum voltage representing low and the minimum voltage representing high. You need to look those values up.
However, if the microcontroller perceives the output of the sensor as always high, that means the microcontroller thinks the sensor's output (and this is important) always falls above the minimum limit of a "high" input. But why would the sensor do that?
You didn't identify the sensor (and this whole answer could be wrong depending on your sensor...), but most photoelectric sensors are just potentiometers (variable resistors). When the light is strong enough, the resistance drops to near zero. When the light is weak, the resistance is moderate. When there's no light the resistance is high. If you just thought to yourself, "hey, that's just a fancy switch!" then you're on the right track.
In fact, when you said in your question, "the sensor is triggered between 200 (low) and 2000 (high)" what you probably meant was the sensor's resistance varies between 200Ω (strong light) and 2kΩ (no light).0
What does this mean to you?
The input to a microcontroller is a super high resistance (mega-ohms, usually a lot of mega-ohms). In fact, for your purposes, it's just a capacitor. You connected a "high" voltage to that capacitor with a switch (your sensor). You closed the switch and the capacitor charged. You then opened the switch and nothing happened because there's nowhere for the charge on the cap to go.1
Result: the microcontroller thinks the input is always high.
The problem is easily solved by adding a reasonably high value resistor (say 150KΩ2) from the microcontroller input to ground. Do you remember your series-resistance math? When the light is strong the voltage across that 150KΩ resistor is VCC minus a trivial amount. When the light is off the voltage drops to zero thanks to the resistor.3 If the light is weak the input may be high or low (which is probably part of the point of the experiment).
0 It really hurts that you didn't tell us what the sensor is. What you said could also mean that the sensor triggers low at 200 lumens or lux and high at 2000 lumens or lux, in which case pretty much my entire answer is wrong.
1 I don't know what you've learned so far in your studies, so I don't want to belabor this point, but a capacitor is kinda like a rechargeable battery. Once you've charged the battery you can walk around with it and it won't lose (for practical purposes) its charge. You need to connect the battery to something for it to discharge. Caps in the context of what we're talking about do the very same thing. It's when you apply an AC signal to a cap that things get really cool (and the whole battery metaphor goes out the window...).
2 Don't just use this value. That value may be too high depending on how fast you're expecting the light to change. I suspect the problem you're trying to solve includes a calculation for how big this resistor should be. Take the time to make that calculation.
3 In fact, your sensor's off resistance of 2KΩ compared to that 150KΩ value strongly suggests it's way, way, way too high. But it's incredibly valuable for you to do the math to figure out why. In fact, it might be better to connect the sensor to ground and the resistor to VCC. Do... The... Math... 😎