Today I was taking apart an old typewriter and I have this IC that was in a socket. I took it out and started searching online to see what this IC does. I spent 20 minutes and nothing showed up about it. It is a
NEC 833IE9 D2364EC 071.
The question has insufficient information for a definitive answer, a photo would help.
Going by the description of it being a 24-pin device, and that it was socketed (which implies DIP, and also suggests replacement being a maintenance option), it could be this NEC ROM device: nMOS μPD2364, 64 kilobit, 5 Volt TTL ROM, programmed at fabrication by the manufacturer.
A little more info might be helpful. What package? What does it seem to be doing in the circuit? Without really any more detail my first guess would be a.