Spanish authorities have arrested a French-Algerian man suspected of participating in terrorist activity in Syria.