If is_post_type_archive is not working on your WordPress…
...the trouble could be that you have not reseted the loop on the page.
But you can’t get it work. The fix may be that the custom loop needs reseting. Add this after you close the loop.