"Jewishness" is matrilinial -- ie you are Jewish if your mother is Jewish. Your mother is Jewish if HER mother was Jewish, and so on. So you can be Jewish under the Israeli "Law of Return", even if you and your parents have never been practicing Jews, as long as your lineage is correct
That is only a manmade rule, created to serve a political need. Jesus lineage is patrilineal (See Matthew 1.)