Im currently looking for another job but I'm wondering if its a good
idea to put this job on my resume. Isn't resigning the same as
quitting?
Yes, resigning is the same as quitting.
Hopefully, you at least resigned professionally, gave appropriate notice before leaving, etc - and didn't just say "I quit" and walk off.
However, If I did quit a job, I definitely wouldn't put it on my
resume because it will make you look bad, and the new employer may
think you will quit that job.
If you omit the job from your resume, you'll need to explain the one-year gap.
If you lie and are caught, you'll severely reduce your chances of getting the job. And if the lie is caught after you are hired, you could be dismissed.
While quitting a 1-year job might look bad (particularly with no new job waiting), lying is worse in many cases. As a hiring manager, I'd feel far more favorable toward someone who told me that they quit and why, than I would if I caught them lying. And in your case, you seem to have a decent reason for quitting.
Do a quick search here, and you'll find many questions and answers about omitting jobs from your resume, such as this one: What are the risks of omitting short-term employment when applying for positions?
In the future, consider finding your next job before resigning from your current job. That's what many folks would consider the professional way to do things. And it won't make you look bad.