I have an IC in a clear plastic 14 pin DIP package, made by Sprague Electric in the late 1970's, for use in a toy. It's intended to run on batteries, between 3 and 4.5V. It uses IIL and bipolar technology and contains a photodiode, a lamp driver and a speaker driver.
It has a "search" mode that repeatedly plays a simple robotic sounding melody and flashes the lamp slowly. When it detects a change in light intensity, it switches to an alarm sound. After a few seconds, it goes back to playing the melody and slowly flashing the lamp.
It also has a "guard" mode, where it remains silent until it detects a light intensity change, then sounds the alarm for a few seconds.
I can imagine it being used in a toy robot that would react when you "shot" it with a gun that emitted a light beam, or guard your room by detecting changes in the light.