SAN FRANCISCO—A toxin produced by marine algae can impair sea lions' memory, scientists reported Monday, making it difficult for sick sea lions to find their way to food.