In case you haven't fixed it yet. Make sure the object you want to collide with has the tag "1". And since your game is 2D you need to use OnCollisionEnter2D:
void OnCollisionEnter2D(Collision2D collisionInfo)
{
if (collisionInfo.collider.tag == "1")
{
transform.position = homeBase;
local = 0;
}
}