This question was deleted by a moderator (which prevents voting to undelete, hence we have to talk about it here instead). The question is all about logic, which is listed in the help center as a valid topic for questions.
In the past, we have had problems with people posting "logic questions" that are little more than "help me prove X in system Y." This question was not of that form.
The close reason given was the "not about philosophy" reason, but I'm not sure that this rationale can be applied to this question. Logic is a branch of philosophy, and this is a question about logic. Yes, it also relates to mathematics, but only insofar as logic relates to math. It is not asking for a detailed mathematical writeup of ZFC, nor for a proof of some specific mathematical theorem, but for a high-level overview of how ZFC manages to accomplish some things that superficially look like they can only be done in second order logic. In other words, the questioner observed that mathematicians have managed to contort one variety of logic into emulating some reasonably large subset of another logic, and asked how they did that. That is a question of interest to both mathematicians and philosophers, and should not be rejected on that basis.
In writing this Meta question, I have attempted to guess what the close votes were all about. This is the problem with "not about philosophy" - it turns every closure into a guessing game where I have to try and read the close voters' minds. There were no comments on the question explicitly suggesting that close voters were objecting to its mathematical aspects - and for all I know, they had some entirely unrelated objection and I've just wasted my time writing the above paragraphs. I'm tempted to propose we abolish the close reason entirely, but I have seen valid uses of it in the past.
Regardless of the fate of that close reason, I strongly believe this question should not have been deleted, and probably should not have been closed.