If you're facing secondary inspections, expect to face the same even using Canadian passport.
However, they'd try to process you faster, specially at Canadian airports.
My last trip to NY, flying out of pearson in 2016, i got sent to secondary. But I ended up waiting in some small room (with those bench type chairs) alone, while my passport was taken into their main room by an officer. I just waited for like 10 mins and then an officer brings me my ppt and tells me i'm good to go. No questions, and ppt was stamped already by them when they brought it to me.
Once an officer just stamped my passport and let me through, he didn't even bother scanning it or running it through the system.
Thankfully we no longer need to travel there as family has moved elsewhere.
I've seen Europeans, Australians, and so many other "non-muslim" people/families/seniors all in Secondary, so don't think its just the muslims
getting that treatment. USA gives it to everyone, even to their own/naturalized/born citizens.
If you don't want the hassle or rejections, simply don't travel to those places where they hassle you.
Avoid travel to USA altogether.
Spend your money in countries that are more welcoming. Fly to Europe or Asia instead. It's cheaper, more welcoming, and has great/nicer weather and more cheaper food and entertainment.