Nugatory means something of no value, importance, or significance - essentially worthless or futile. 'Worthless' is the direct synonym. 'Terminal' and 'In the middle' refer to position or endings, while 'Impartial' means unbiased, which is unrelated to value.