IR photodiode analogRead

Light doesn't have "an analog value". That's not a property of light. It's main properties are intensity, wavelength (which is commonly called "colour"), direction, and polarisation. Maybe some more.

So which of these properties do you want to measure and turn into some analog value?