I'm assuming you looked at the physical copy for December 31, 2023, and didn't find it there? If that's the case, try the physical copy with the cover dated either January 6 or 7, 2024.
Reasoning: the article would have appeared online the same day the magazine issue went on sale, so that subscribers could read it on paper or online. So the story was published 12/31/23.
However, The New Yorker is a weekly publication, and therefore (probably, I can't say for certain) follows magazine dating protocols. In essence, the date on the cover of a magazine is not the date it was published; it's the date that brick-and-mortar sellers should pull that issue from their shelves.
If the story was released in print and online on 12/31/23, then the physical copies would be pulled to make room for the next issue on either 1/6/24 or 1/7/24. So try looking for your story in the issue with that date on the cover.