Not quite?
You mean you're open to supporting a pro illegal immigrant candidate if they happen to agree with you on other issues?
If the only other candidate was a pro illegal immigrant Democrat candidate such as Obama or Hillary. Your description is basically what anyone who voted for McCain voted for since he’d been one of the main amnesty pushers in 2006 and 2007, just before he ran for president in 2008.
The other candidate can be so bad that it prevents me from being a one-issue vote.