For starters, it names the President as a defendant
EDIT: originally was plaintiff, dunno how that happened. Thanks
You mean as a defendant? Nothing stops you from suing the President in his capacity as a public official. The usual remedy, though, is an injunction, but under Bivens you can seek damages (as is being done here).