Let's pretend they cost the same, with some random promotion Samsung is running.
Get the Nexus if quick upgrades and root are important to you. No bloat, and stock android you can build on.
Get the Note 5 if you absolutely need the best hardware, need the Spen features, and like some touchwiz...