Getting posts to exclude from array

simply not “imploding” your array since implode() returns a string and post__not_in accepts an array