This is not a question for this forum. You need to contact immigration counsel. Much will depend upon your immigration status. You may be denied entry. You may be denied permission to fly. These are things that you need to discuss in confidence with an immigration attorney. This is an open forum and no confidentiality is possible.
If the warrant was placed in the system, it will likely pop up when you clear Immigration and be acted upon at Customs. You should retain a California attorney to try and get the warrant vacated. The more serious the charge, the more likely its in the system. The above is for informational purposes only and not meant as legal advise.
It is very possible you be considered inadmissible to there may be some other complications with the warrant. Why don't you contact me privately and we can discuss this in detail.
Misiti Global, PLLC.
716 830 7960