Thanks for the great question! I am passionate about non-profits and the great work they do so your question caught my eye!
Although the pay may be low (or nonexistent), working for a non-profit provides a wealth of benefits! I have volunteered with more non-profits than I can remember and used every engagement as an opportunity for learning. I find that working with non-profits puts you in more direct contact with the community that you serve. For example, I currently volunteer with a non-profit that provides food to those in need (e.g., Food and Friends in Washington, DC., I am more in tune with the clients instead of just donating money to support the case. This means a great deal to me.
I think you will be able to gain valuable information and establish great relationships working with a non-profit that shares your goals and ideals. I would also try to find a mentor who can guide you and give sage advice.
If I had the opportunity to re-start my career, I would definitely consider working for a non-profit that is focused on helping the community.
Hope that helps!
Be safe and stay well!